import request from '@/utils/request'

export function getList(data) {
  return request({
    url: '/doc/findList',
    method: 'post',
    data,
  })
}

export function doEdit(data) {
  return request({
    url: '/doc/save',
    method: 'post',
    data,
  })
}

export function doDelete(id) {
  return request({
    url: '/doc/remove/' + id,
    method: 'post',
  })
}
